[PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 11 Jun 2020 07:52:15 +0000 (09:52 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 5 Sep 2020 14:52:44 +0000 (15:52 +0100)
commita2a39a4d082804fc6557a7f35fba989ed60d3b58
tree18b5b943ca53946268950e170857cdb6c5de6964
parent6d98bbffaf1acacc06e6336ef853a2ed10baee02
[PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

Trying to build the kernel with CONFIG_INFINIBAND_USER_ACCESS enabled fails

     ERROR: "__get_user_unknown" [drivers/infiniband/core/ib_uverbs.ko] undefined!

with on SH since the kernel misses a 64-bit implementation of get_user().

Implement the missing 64-bit get_user() as __get_user_u64(), matching the
already existing __put_user_u64() which implements the 64-bit put_user().

Gbp-Pq: Topic bugfix/sh
Gbp-Pq: Name sh-implement-__get_user_u64.patch
arch/sh/include/asm/uaccess_32.h